//
//  VC3Navigation.swift
//  ChapterAll
//
//  Created by Kevin on 2020/4/22.
//  Copyright © 2020 Kevin. All rights reserved.
//

import UIKit

class VC3Navigation: UIViewController {
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        title = "navigation"
    }
    
    override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
        let vc = VC3NavigationSecond()
        vc.title = "navigation second"
        vc.view.backgroundColor = UIColor.red
        navigationController?.pushViewController(vc, animated: true)
    }
}
